--- /usr/sbin/fancontrol	2018-02-17 13:54:50.065478090 +0800
+++ /usr/sbin/fancontrol	2018-02-17 13:58:56.910831481 +0800
@@ -334,7 +334,7 @@
 	# No enable file? Just set to max
 	if [ ! -f $ENABLE ]
 	then
-		echo $MAX > $1
+		echo $MINPWM > $1
 		return 0
 	fi
 
@@ -433,9 +433,9 @@
 		fi
 
 		# If fanspeed-sensor output shall be used, do it
+		min_fanval=100000
 		if [[ -n ${fan} ]]
 		then
-			min_fanval=100000
 			fanval=
 			# A given PWM output can control several fans
 			for one_fan in $(echo $fan | sed -e 's/+/ /')
